package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Courses_9Mapper;
import com.ruoyi.system.domain.Courses_9;
import com.ruoyi.system.service.ICourses_9Service;

/**
 * 课程表Service业务层处理
 * 
 * @author wyl
 * @date 2025-02-14
 */
@Service
public class Courses_9ServiceImpl implements ICourses_9Service 
{
    @Autowired
    private Courses_9Mapper courses_9Mapper;

    /**
     * 查询课程表
     * 
     * @param courseId 课程表主键
     * @return 课程表
     */
    @Override
    public Courses_9 selectCourses_9ByCourseId(Long courseId)
    {
        return courses_9Mapper.selectCourses_9ByCourseId(courseId);
    }

    /**
     * 查询课程表列表
     * 
     * @param courses_9 课程表
     * @return 课程表
     */
    @Override
    public List<Courses_9> selectCourses_9List(Courses_9 courses_9)
    {
        return courses_9Mapper.selectCourses_9List(courses_9);
    }

    /**
     * 新增课程表
     * 
     * @param courses_9 课程表
     * @return 结果
     */
    @Override
    public int insertCourses_9(Courses_9 courses_9)
    {
        return courses_9Mapper.insertCourses_9(courses_9);
    }

    /**
     * 修改课程表
     * 
     * @param courses_9 课程表
     * @return 结果
     */
    @Override
    public int updateCourses_9(Courses_9 courses_9)
    {
        return courses_9Mapper.updateCourses_9(courses_9);
    }

    /**
     * 批量删除课程表
     * 
     * @param courseIds 需要删除的课程表主键
     * @return 结果
     */
    @Override
    public int deleteCourses_9ByCourseIds(Long[] courseIds)
    {
        return courses_9Mapper.deleteCourses_9ByCourseIds(courseIds);
    }

    /**
     * 删除课程表信息
     * 
     * @param courseId 课程表主键
     * @return 结果
     */
    @Override
    public int deleteCourses_9ByCourseId(Long courseId)
    {
        return courses_9Mapper.deleteCourses_9ByCourseId(courseId);
    }
}
